import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { MenuEntity } from "../Entity/menu.entity";
import { MenuModule } from "./menu.module";
import { RoleController } from "../controller/role.controller";
import { RoleEntity } from "../Entity/role.entity";
import { RoleService } from "../service/role.service";
import { LogService } from "src/service/log.service";

@Module({
    imports:[
        MenuModule,
        TypeOrmModule.forFeature([MenuEntity,RoleEntity])
    ],
    exports:[RoleService],
    controllers:[RoleController],
    providers:[RoleService]
})
export class RoleMoudle{

}